<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="app">
			<p v-if="seen">sfsfdf</p>
			<a v-bind:href="url">baidu</a>
			<button v-on:click="click1" @click.stop='click2'>click</button>
		</div>
		<script type="text/javascript">
		var vm=new Vue({
			el:"#app",
			data:{
				seen:true,
				url:'http://www.baidu.com',
				click1:function(){
					console.log("click1");
				},
				click2:function(){
					console.log("click2 stop");
				}
			}
		})
		
		</script>
	</body>
</html>
